<%@ page contentType="text/html;charset=UTF-8"%>
<%@ page
	import="com.guinea.core.acegi.UserDetailsImpl,org.acegisecurity.GrantedAuthority,com.guinea.core.utils.StringUtils"%>
<%@ taglib uri="/tld/sitemesh-decorator.tld" prefix="decorator"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
 "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>上海大众 - 斯柯达经销商招募 - <decorator:title default="首页" /></title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta http-equiv="Cache-Control" content="no-store" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<link rel="stylesheet" href="../../css/reset-fonts-grids.css"
	type="text/css">
<link rel="stylesheet" href="../../css/base.css" type="text/css">
<script src="../../js/base.js" type="text/javascript"></script>
<script src="<c:url value='/js/My97DatePicker/WdatePicker.js'/>"
	type="text/javascript"></script>
<script src="<c:url value='/js/json2.js'/>" type="text/javascript"></script>
<script src="../../js/jquery-1.4.4.js" type="text/javascript"></script>
<script src="../../js/jquery.blockUI.js" type="text/javascript"></script>
<script src="../../js/myjquery.js" type="text/javascript"></script>
<style type="text/css">
body {
	min-height: 570px;
	_height: 570px;
}

#custom-doc {
	width: 900px;
	margin: auto;
	text-align: left;
	padding: 0px 50px;
}

#menu {
	float: left;
	height: 22px;
	padding: 22px 50px 0px;
	position: relative;
	z-index: 1000;
	list-style: none outside none;
}

#menu li {
	background: url("../../images/loginbar_line.jpg") no-repeat scroll right
		2px transparent;
	float: left;
}

#menu a {
	color: #555555;
	display: block;
	font-weight: bold;
	letter-spacing: 1px;
	padding: 0 9px;
	text-align: center;
	text-decoration: none;
}

.visitor {
	padding: 60px 0px 0px 0px;
	color: #727171;
	height: 20px;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 2;
}

.visitor a {
	text-decoration: none;
	color: #666;
}

#cc li {
	font-size:18px;
	list-style-type: decimal;
	margin:5px;
}
</style>
<decorator:head />
</head>
<body>
	<div id="custom-doc" class="yui-t7">
		<div id="hd"
			style="margin: 0px -50px; height: 144px; background: url(../../images/bg_top_grey.jpg) repeat-x scroll center 0 transparent;">
			<div class="visitor">
				<div class="passport-entry"
					style="float: right; height: 20px; line-height: 18px; padding: 0px 200px 0px 0px; text-align: right;">
					<logic:empty name="ACEGI_SECURITY_CONTEXT" scope="session">
						<a href="<c:url value='/login.jsp'/>">登录</a>
					</logic:empty>
					<logic:notEmpty name="ACEGI_SECURITY_CONTEXT" scope="session">
						<%
							UserDetailsImpl u = com.guinea.core.utils.CommonUtils
										.getCurrentUser(pageContext);
								if (u != null) {
									out.print(u.getOtherName());
								}
						%>
						, 欢迎您！<a href="<c:url value='/j_acegi_logout' />">退出</a>
						<%
							if (u != null) {
									GrantedAuthority[] as = u.getAuthorities();
									for (int i = 0; i < as.length; i++) {
										String a = as[i].getAuthority();
										if (a == null)
											continue;

										if (StringUtils.contains(a, "role_recruit_")
												|| StringUtils.contains(a, "admin")) {
						%>
&nbsp;&nbsp;<a href="<c:url value='/console/recruit/index.do' />">进入后台</a>
						<%
							}
									}
								}
						%>
					</logic:notEmpty>
				</div>
			</div>
			<ul id="menu">
				<li><a id="menu0" href="../index.jsp">首页</a></li>
				<li><a id="menu1" href="../overview/volkswagen.jsp">上海大众简介</a>
				</li>
				<li><a id="menu2" href="../overview/skoda.jsp">斯柯达简介</a></li>
				<li><a id="menu3" href="../overview/policy.jsp">政策支持</a></li>
				<li><a id="menu4" href="../overview/conditions.jsp">申请条件</a></li>
				<li><a id="menu5" href="../overview/town.do?method=list">热点加盟城市</a>
				</li>
				<li><a id="menu6" href="../overview/flow.jsp">申请流程</a></li>
				<li><a id="menu7" href="../user/apply.do?method=declare">在线申请</a>
				</li>
				<li><a id="menu8" href="../user/apply.do?method=list">申请状态查询</a>
				</li>
			</ul>
			<div style="float: right; margin: 50px 100px 0 0;">
				<a href="javascript:void(0);" onclick="javascript:jQuery.popMsg(jQuery('#help-message'),'网上在线申请指引','800','350')">帮助</a>
			</div>
		</div>
		<div id="bd"
			style="padding: 10px 50px; background-color: #D7E7DD; min-height: 390px; _height: 390px;">
			<div class="yui-g">
				<%@ include file="/common/messages.jsp"%>
				<br />
				<!-- ============================ main body ============================== -->
				<decorator:body />
			</div>
		</div>
		<div id="ft">
			<table style="width: 100%;">
				<tr>
					<td style="width: 120px;">&nbsp;</td>
					<td
						style="text-align: center; font-weight: bolder; font-size: 16px;">
						<label> 请拨打400-820-1111(转4) </label>
					</td>
					<td style="width: 120px; color: #aaa; font-family: NSimSun;">
						<label> 上海大众汽车有限公司 </label>
					</td>
				</tr>
			</table>
		</div>
		<div id="help-message" style="display: none;">
			<ol id="cc" style="padding-left: 20px;font-size:18px;text-align:left;line-height:25px;">
				<li>首次填写请点击“注册”，完整填写申请单位的基本信息，填写完毕后请点击“保存”，完成注册</li>
				<li>点击“登录”，登录后出现声明页，点击“已阅读并接受以上声明”后进入下一步</li>
				<li>请如实填写申请单位的经营状况信息（股权结构、财务状况、申请者背景情况、经营者情况及投资规划等），填写过程中请注意保存，完成后点击“下一步”，进入“计划场地状况”填写界面</li>
				<li>请填写申请单位拟投资建店的投资区域、详细地址、土地来源及性质、建设方式等信息，填写完毕后，请点击“下一步”；提交后弹出“您已经在XX省XX市XX区/县XX场地位置提交申请，是否还有其他场地申请”对话框，如申请单位需同时在多个区域申请建店，请点击“是”，继续填写</li>
				<li>申请完成提交后系统自动生成编号，提示申请提交成功及[申请单位]必须准备的材料列表</li>
				<li>点击“申请状态查询”，您可登陆查询申请的评审阶段及状态</li>
				<li>填写过程中出现问题，请电话咨询工作人员：021-69566401</li>
			</ol>
		</div>
	</div>
</body>
<script type="text/javascript">
			function changeTitle(){
				var title = '<decorator:title default="" />';
				var num = 0;
				if(title == "") num = 0;
				if(title == "上海大众简介") num = 1;
				if(title == "斯柯达简介") num = 2;
				if(title == "政策支持") num = 3;
				if(title == "申请条件") num = 4;
				if(title == "热点加盟城市") num = 5;
				if(title == "申请流程") num = 6;
				if(title.indexOf("在线申请") > -1) num = 7;
				if(title == "申请状态查询") num = 8;
				for(var i = 1;i < 9 ;i++){
					var m = document.getElementById("menu" + i);
					if(m) m.style.color = "#000";
				}
				m = document.getElementById("menu" + num);
				if(m) m.style.color = "#D87622";
			}
		changeTitle();
	</script>
</html>
